#include "Machinegun.h"


Machinegun::Machinegun() {
}


Machinegun::~Machinegun() {
}

void Machinegun::Initialize(sf::RenderWindow* window, EnemyManager* enyman, sf::Texture* image) {	
	m_renderWindow = window;
	//shotgunTexture.loadFromFile("bilder/weapons/shotgun.png");
	machinegunSprite.setTexture(*image);
	//machinegunSprite.setPosition(-1000,-1000);
}



void Machinegun::Update() {
	m_renderWindow->draw(machinegunSprite);
}


void Machinegun::Cleanup() {
}


void Machinegun::setPositionMachinegun(float PosX, float PosY) {
	machinegunSprite.setPosition(PosX, PosY);
};
